<!DOCTYPE html>
<html lang="<?php echo Yii::app()->language; ?>">
<head>
	<meta charset="utf-8" />
<?php echo BHelper::HtmlHeaderMeta($this); ?>
</head>
<body>
<div class="navbar navbar-fixed-top">
	<div class="navbar-inner navbar-header">
		<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</a>
			<a class="brand" href="<?php echo Yii::app()->request->baseUrl; ?>">
				<img class="logo" src="<?php echo Yii::app()->request->baseUrl; ?>/img/logo.icon.72.png" width="72" />
			</a>
			<div class="nav-collapse">
				<ul class="nav">
					<li class="<?php echo ($this->id=='app')?'active':''; ?>">
						<a href="<?php echo Yii::app()->createUrl('/app'); ?>" class="bottom-line">
							<span class="nav-main-tital">Yamii App</span>
							<span class="nav-sub-tital">feel special instantly</span>
						</a>
					</li>
					<li class="<?php echo ($this->id=='restaurant')?'active':''; ?>">
						<a href="<?php echo Yii::app()->createUrl('/restaurant'); ?>" class="bottom-line">
							<span class="nav-main-tital">Explore</span>
							<span class="nav-sub-tital">restaurants nearby</span>
						</a>
					</li>
				</ul>
				<ul class="nav pull-right small-font">
					<li><a href="<?php echo Yii::app()->createUrl('/accounts/language', array('lang'=>'fi_fi')) ?>">Suomi</a></li>
					<li><a href="<?php echo Yii::app()->createUrl('/accounts/language', array('lang'=>'en_gb')) ?>">English</a></li>
				</ul>
			</div><!--/.nav-collapse -->
		</div>
	</div>
</div>

<style type="text/css">
	body {padding-top:0; padding-bottom:0px; overflow:hidden;}
	.navbar-fixed-top{margin-bottom:0;}
	.navbar{margin-bottom:0; position:static;}
</style>
<div class="main-page-content" style="position:relative; left:0;">
	<div class="yamii-map">
		<?php echo $content; ?>
	</div>
</div>
<?php echo BHelper::HtmlScripts(); ?>
</body>
</html>
